package com.gzhu.knowledgeAdmin.dao;

import com.gzhu.knowledgeAdmin.entity.Xtyh;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 系统用户表
 * 
 * @author giaogiao
 * @email giaogiao@gmail.com
 * @date 2023-04-22 23:18:59
 */
@Mapper
public interface XtyhDao extends BaseMapper<Xtyh> {

    void resetPwd(@Param("ids") List<Integer> ids, @Param("encrypt") String encrypt);

    int USerRoleCount(@Param("userName") String userName);
}
